package com.orhon.smartcampus.modules.course.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
@Setter
@Getter
@EqualsAndHashCode
@Entity
@Table(name = "course_type", schema = "smartcloud", catalog = "")
public class Type {
    @Id
    @Column(name = "id", nullable = false)
    private Long id;
    @Column(name = "course_level_order", nullable = false)
    private Integer courseLevelOrder;
    @Column(name = "school_id", nullable = false)
    private Long schoolId;
    @Column(name = "created_by", nullable = false)
    private Long createdBy;
    @Column(name = "created_at", nullable = true)
    private Date createdAt;
    @Column(name = "updated_at", nullable = true)
    private Date updatedAt;
    @Column(name = "deleted_at", nullable = true)
    private Date deletedAt;
    @Column(name = "name", nullable = true)
    private String name;





}
